package com.ruoyi.project.erp.goods.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.framework.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.TreeEntity;

/**
 * 物品对象 erp_goods
 *
 * @author qinghuan
 * @date 2021-08-08
 */
@ApiModel
@Data
public class ErpGoods extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 物品
     */
    @Excel(name = "物品编码")
    @ApiModelProperty(value = "物品id")
    private String goodsId;

    /**
     * 物品名
     */
    @Excel(name = "物品名")
    @ApiModelProperty(value = "物品名")
    private String goodName;
    /**
     * 图号
     */
    @Excel(name = "图号")
    @ApiModelProperty(value = "图号")
    private String drawingNo;

    /**
     * 父菜单ID
     */
    @Excel(name = "父级编码")
    @ApiModelProperty(value = "父级编码")
    private String parentId;
    /**
     * 父菜单名称
     */
    @Excel(name = "父级名")
    @ApiModelProperty(value = "父级名")
    private String parentName;


    /**
     * 提醒
     */
    @Excel(name = "提醒")
    @ApiModelProperty(value = "提醒")
    private String attention;

    /**
     * 项目
     */
    @Excel(name = "项目编码")
    @ApiModelProperty(value = "项目")
    private Long projectId;

    /**
     * 项目名
     */
    @Excel(name = "项目名")
    @ApiModelProperty(value = "项目名")
    private String projectName;

    /**
     * 总数
     */
    @Excel(name = "总数")
    @ApiModelProperty(value = "总数")
    private Long totalNumber;

    /**
     * 材质
     */
    @Excel(name = "材质")
    @ApiModelProperty(value = "材质")
    private String goodsMaterial;

    /**
     * 单重
     */
    @Excel(name = "单重")
    @ApiModelProperty(value = "单重")
    private String itemWeight;

    /**
     * 总重
     */
    @Excel(name = "总重")
    @ApiModelProperty(value = "总重")
    private String totalWeight;

    /**
     * 单价
     */
    @Excel(name = "单价")
    @ApiModelProperty(value = "单价")
    private BigDecimal itemPrice;


    /**
     * 单价绑定员工
     */
    @Excel(name = "单价绑定员工")
    @ApiModelProperty(value = "单价绑定员工")
    private Long itemPriceMemberId;


    /**
     * 总价
     */
    @Excel(name = "总价")
    @ApiModelProperty(value = "总价")
    private BigDecimal totalPrice;

    /**
     * 总价绑定员工
     */
    @Excel(name = "总价绑定员工")
    @ApiModelProperty(value = "总价绑定员工")
    private Long totalPriceMemberId;


    /**
     * 供货商名称
     */
    @Excel(name = "供货商名称")
    @ApiModelProperty(value = "供货商名称")
    private String supplierName;

    /**
     * 采购数
     */
    @Excel(name = "采购数")
    @ApiModelProperty(value = "采购数")
    private Long purchasesNum;

    /**
     * 采购数绑定员工
     */
    @Excel(name = "采购数绑定员工")
    @ApiModelProperty(value = "采购数绑定员工")
    private Long purchasesNumMemberId;

    /**
     * 质检数
     */
    @Excel(name = "质检数")
    @ApiModelProperty(value = "质检数")
    private Long inspectionNum;

    /**
     * 质检数绑定员工
     */
    @Excel(name = "质检数绑定员工")
    @ApiModelProperty(value = "质检数绑定员工")
    private Long inspectionNumMemberId;

    /**
     * 入库数
     */
    @Excel(name = "入库数")
    @ApiModelProperty(value = "入库数")
    private Long stockNum;

    /**
     * 入库数绑定员工
     */
    @Excel(name = "入库数绑定员工")
    @ApiModelProperty(value = "入库数绑定员工")
    private Long stockNumMemberId;

    /**
     * 出库数
     */
    @Excel(name = "出库数")
    @ApiModelProperty(value = "出库数")
    private Long outboundNum;


    /**
     * 单台数量
     */
    @Excel(name = "单台数量")
    @ApiModelProperty(value = "单台数量")
    private Long quantityUnit;

    /**
     * 出库数绑定员工
     */
    @Excel(name = "出库数绑定员工")
    @ApiModelProperty(value = "出库数绑定员工")
    private Long outboundNumMemberId;

    /**
     * 多图
     */
    @Excel(name = "多图")
    @ApiModelProperty(value = "多图")
    private String pictureUrl;


    /**
     * 加工员
     */
    @Excel(name = "加工员")
    @ApiModelProperty(value = "加工员")
    private String processor;


    /**
     * 工艺
     */
    @Excel(name = "工艺")
    @ApiModelProperty(value = "工艺")
    private String technology;



    /**
     * 多图绑定员工
     */
    @Excel(name = "多图绑定员工")
    @ApiModelProperty(value = "多图绑定员工")
    private Long pictureUrlMemberId;

    /**
     * 图片备注
     */
    @Excel(name = "图片备注")
    @ApiModelProperty(value = "图片备注")
    private String pictureRemark;

    /**
     * 视频
     */
    @Excel(name = "视频")
    @ApiModelProperty(value = "视频")
    private String videoUrl;

    /**
     * 视频备注
     */
    @Excel(name = "视频备注")
    @ApiModelProperty(value = "视频备注")
    private String videoRemark;

    /**
     * 质检员
     */
    @Excel(name = "质检员")
    @ApiModelProperty(value = "质检员")
    private String qualityInspectorName;

    /**
     * 质检时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    @ApiModelProperty(value = "质检时间")
    @Excel(name = "质检时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm")
    private Date qualityInspectorTime;


    /**
     * 交付时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    @ApiModelProperty(value = "交付时间")
    @Excel(name = "交付时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm")
    private Date    deliveryTime;


    /**
     * 交付时间绑定员工
     */
    @Excel(name = "交付时间绑定员工")
    @ApiModelProperty(value = "交付时间绑定员工")
    private Long deliveryTimeMemberId;


    /**
     * 加工时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    @ApiModelProperty(value = "加工时间")
    @Excel(name = "加工时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm")
    private Date processorTime;

    /**
     * 结果
     */
    @Excel(name = "结果")
    @ApiModelProperty(value = "结果")
    private String result;

    /** 搜索值 */
    private String searchValue;

    /** 创建者 */
    private String createBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm")
    private Date createTime;

    /** 更新者 */
    private String updateBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date updateTime;

    /** 备注 */
    private String remark;

    /** 显示顺序 */
    private Integer orderNum;

    /** 祖级列表 */
    private String ancestors;






    public String getParentName()
    {
        return parentName;
    }

    public void setParentName(String parentName)
    {
        this.parentName = parentName;
    }


    public Integer getOrderNum()
    {
        return orderNum;
    }

    public void setOrderNum(Integer orderNum)
    {
        this.orderNum = orderNum;
    }

    public String getAncestors()
    {
        return ancestors;
    }

    public void setAncestors(String ancestors)
    {
        this.ancestors = ancestors;
    }


}
